<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
	<script type="text/javascript" src="/deng/include/include-css.js"></script>
	<script type="text/javascript" src="/deng/include/inplug-css.js"></script>
	<meta charset="UTF-8">
	<title>个人信息</title>
	<!--<link href="/deng/source/css/bootform.css" rel="stylesheet" type="text/css" />-->
</head>
<body>
	<div class="m-portlet">
		<div class="m-portlet__head">
			<div class="m-portlet__head-caption">
				<div class="m-portlet__head-title">
					<span class="m-portlet__head-icon m--hide">
					<i class="la la-gear"></i>
					</span>
					<h3 class="m-portlet__head-text">
						编辑员工
					</h3>
				</div>
			</div>
		</div>
		<!--begin::Form-->
		<form class="m-form m-form--fit m-form--label-align-left m-form--group-seperator-dashed" id="defaultForm" method="post">
			<div class="m-portlet__body">
				<div class="form-group m-form__group row">
					<!--
					<div class="col-md-1">
						<label class="col-form-label">隶属公司</label>
					</div>
					<div class="col-md-3">
						<div class="form-group">
							<input type="hidden" maxlength="32"  name="xt_company_id">
							<input class="form-control" type="text" maxlength="32" readonly="readonly" name="" placeholder="所属公司">
						</div>
					</div>
					 -->
					 <div class="col-md-1">
						<label class="col-form-label" jEhcLang="xt_departinfo_id">隶属部门</label>
					</div>
					<div class="col-md-3">
						<div class="form-group input-group">
							<input type="hidden" maxlength="32"  name="xt_departinfo_id" id="xt_departinfo_id">
							<input type="hidden" maxlength="32" id="xt_userinfo_id"  name="xt_userinfo_id">
							<input class="form-control" type="text" maxlength="32" readonly="readonly" id ="xt_departinfo_name"  name="xt_departinfo_name" placeholder="请选择" >
							<span class="input-group-btn">
								<button class="btn btn-default" type="button" onclick="departSelect()">
									选择
								</button>
							</span>
						</div>
					</div>
					<div class="col-md-1">
						<label class="col-form-label" jEhcLang="xt_post_id">隶属岗位</label>
					</div>
					<div class="col-md-3">
						<div class="form-group input-group">
							<input type="hidden" maxlength="32"  name="xt_post_id" id="xt_post_id">
							<input class="form-control" type="text"  maxlength="32" readonly="readonly" id="xt_post_name" name="xt_post_name" placeholder="请选择">
							<span class="input-group-btn" style="margin-left: 0px;">
								<button class="btn btn-default" type="button" onclick="postSelect()">
									选择
								</button>
							</span>
						</div>
					</div>
				</div>
				<div class="form-group m-form__group row">
					<div class="col-md-1">
						<label class="col-form-label" jEhcLang="xt_userinfo_name">账&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号</label>
					</div>
					<div class="col-md-3">
						<div class="form-group">
							<input class="form-control" type="hidden" maxlength="64" id="xt_userinfo_name_">
							<input class="form-control"  readonly type="text" maxlength="64" onblur="validateUser(this);" style="width: 150px;" id="xt_userinfo_name"  data-bv-notempty data-bv-notempty-message="请输入"  name="xt_userinfo_name" placeholder="请输入">
						</div>
					</div>
					<div class="col-md-1">
						<label class="col-form-label" jEhcLang="xt_userinfo_sex">性&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;别</label>
					</div>
					<div class="col-md-3">
						<div class="form-group">
							<input type="hidden" id="xt_userinfo_sex_">
							<select class="form-control" maxlength="32" id="xt_userinfo_sex"  style="width: 150px;" name="xt_userinfo_sex" placeholder="请选择" ></select>
						</div>
					</div>
					<div class="col-md-1">
						<label class="col-form-label" jEhcLang="xt_userinfo_birthday">出生年月</label>
					</div>
					<div class="col-md-3">
						<div class="form-group">
							<input class="form_datetime form-control" readonly="readonly"  style="width: 150px;" type="text" maxlength="20"  name="xt_userinfo_birthday"  id="xt_userinfo_birthday" xt_userinfo_sex placeholder="请输入">
						</div>
					</div>
				</div>
				<div class="form-group m-form__group row">
					<div class="col-md-1">
						<label class="col-form-label" jEhcLang="xt_userinfo_realName">姓&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;名</label>
					</div>
					<div class="col-md-3">
						<div class="form-group">
							<input class="form-control" type="text" style="width: 150px;" maxlength="30" data-bv-notempty data-bv-notempty-message="请输入"   name="xt_userinfo_realName" id="xt_userinfo_realName" placeholder="请输入">
						</div>
					</div>
					<div class="col-md-1">
						<label class="col-form-label" jEhcLang="xt_userinfo_ismarried">婚姻状况</label>
					</div>
					<div class="col-md-3">
						<div class="form-group">
							<input type="hidden" id="xt_userinfo_ismarried_">
							<select class="form-control" maxlength="32" id="xt_userinfo_ismarried"  style="width: 150px;" name="xt_userinfo_ismarried" placeholder="请选择"></select>
						</div>
					</div>
					<div class="col-md-1">
						<label class="col-form-label" jEhcLang="xt_userinfo_card">身份证号</label>
					</div>
					<div class="col-md-3">
						<div class="form-group">
							<input class="form-control" type="text" maxlength="20"  name="xt_userinfo_card" placeholder="请输入" id="xt_userinfo_card">
						</div>
					</div>
				</div>
				<div class="form-group m-form__group row">
					<div class="col-md-1">
						<label class="col-form-label" jEhcLang="xt_userinfo_nation">名&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;族</label>
					</div>
					<div class="col-md-3">
						<div class="form-group">
							<input type="hidden" id="xt_userinfo_nation_">
							<select class="form-control" maxlength="32" id="xt_userinfo_nation" name="xt_userinfo_nation" placeholder="请选择" ></select>
						</div>
					</div>
					<div class="col-md-1">
						<label class="col-form-label" jEhcLang="xt_userinfo_origo">籍&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;贯</label>
					</div>
					<div class="col-md-3">
						<div class="form-group">
							<input class="form-control" type="text" maxlength="20"  name="xt_userinfo_origo" id="xt_userinfo_origo" placeholder="请输入">
						</div>
					</div>
					<div class="col-md-1">
						<label class="col-form-label"  jEhcLang="xt_userinfo_schoolName">毕业学校</label>
					</div>
					<div class="col-md-3">
						<div class="form-group">
							<input class="form-control" type="text" maxlength="64"  name="xt_userinfo_schoolName" id="xt_userinfo_schoolName" placeholder="请输入">
						</div>
					</div>
				</div>
				<div class="form-group m-form__group row">
					<div class="col-md-1">
						<label class="col-form-label" jEhcLang="xt_userinfo_phone">联系电话</label>
					</div>
					<div class="col-md-3">
						<div class="form-group">
							<input class="form-control" type="text" maxlength="30"  name="xt_userinfo_phone" id="xt_userinfo_phone" placeholder="请输入">
						</div>
					</div>
					<div class="col-md-1">
						<label class="col-form-label" jEhcLang="xt_userinfo_mobile">移动电话</label>
					</div>
					<div class="col-md-3">
						<div class="form-group">
							<input class="form-control" type="text" maxlength="20"  name="xt_userinfo_mobile" id="xt_userinfo_mobile" placeholder="请输入">
						</div>
					</div>
					<div class="col-md-1">
						<label class="col-form-label" jEhcLang="xt_userinfo_ortherTel">其它电话</label>
					</div>
					<div class="col-md-3">
						<div class="form-group">
							<input class="form-control" type="text" maxlength="20" name="xt_userinfo_ortherTel" id="xt_userinfo_ortherTel" placeholder="请输入">
						</div>
					</div>
				</div>
				<div class="form-group m-form__group row">
					<div class="col-md-1">
						<label class="col-form-label" jEhcLang="xt_userinfo_remark">备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注</label>
					</div>
					<div class="col-md-11">
						<div class="form-group">
							<textarea class="form-control" cols="100" maxlength="200"  name="xt_userinfo_remark" id="xt_userinfo_remark" placeholder="请输入"></textarea>
						</div>
					</div>
				</div>
				<div class="form-group m-form__group row">
					<div class="col-md-1">
						<label class="col-form-label" jEhcLang="xt_userinfo_address">地&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;址</label>
					</div>
					<div class="col-md-3">
						<div class="form-group">
							<input class="form-control" type="text" maxlength="255" name="xt_userinfo_address" id="xt_userinfo_address" placeholder="请输入">
						</div>
					</div>
				</div>
				<div class="form-group m-form__group row">
					<div class="col-md-1">
						<label class="col-form-label" jEhcLang="xt_userinfo_intime">入职时间</label>
					</div>
					<div class="col-md-3">
						<div class="form-group">
							<input class="form_datetime form-control" readonly="readonly"  style="width: 150px;" type="text" maxlength="32"  name="xt_userinfo_intime" id="xt_userinfo_intime" placeholder="请选择">
						</div>
					</div>
					<div class="col-md-1">
						<label class="col-form-label" jEhcLang="xt_userinfo_outTime">离职时间</label>
					</div>
					<div class="col-md-3">
						<div class="form-group">
							<input class="form_datetime form-control" readonly="readonly"  style="width: 150px;" type="text" maxlength="32"  name="xt_userinfo_outTime" id="xt_userinfo_outTime" placeholder="请选择">
						</div>
					</div>
					<div class="col-md-1">
						<label class="col-form-label" jEhcLang="xt_userinfo_contractTime">到期时间</label>
					</div>
					<div class="col-md-3">
						<div class="form-group">
							<input class="form_datetime form-control" readonly="readonly"  style="width: 150px;" type="text" maxlength="32"  name="xt_userinfo_contractTime" id="xt_userinfo_contractTime" placeholder="请选择">
						</div>
					</div>
				</div>
				<div class="form-group m-form__group row">
					<div class="col-md-1">
						<label class="col-form-label" jEhcLang="xt_userinfo_qq">QQ号码</label>
					</div>
					<div class="col-md-3">
						<div class="form-group">
							<input class="form-control" type="text" maxlength="12"  style="width: 150px;" name="xt_userinfo_qq" id="xt_userinfo_qq" placeholder="请输入">
						</div>
					</div>
					<div class="col-md-1">
						<label class="col-form-label" jEhcLang="xt_userinfo_email">电子邮件</label>
					</div>
					<div class="col-md-3">
						<div class="form-group">
							<input class="form-control" type="text" maxlength="50" style="width: 150px;" name="xt_userinfo_email" id="xt_userinfo_email" placeholder="请输入">
						</div>
					</div>
					<div class="col-md-1">
						<label class="col-form-label" jEhcLang="xt_userinfo_state">状&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;态</label>
					</div>
					<div class="col-md-3">
						<div class="form-group">
							<input type="hidden" id="xt_userinfo_state_" >
							<select class="form-control" maxlength="32" id="xt_userinfo_state"  style="width: 150px;" name="xt_userinfo_state" placeholder="请选择"></select>
						</div>
					</div>
				</div>
				<div class="form-group m-form__group row">
					<div class="col-md-1">
						<label class="col-form-label" jEhcLang="xt_userinfo_politicalStatus">政治面貌</label>
					</div>
					<div class="col-md-3">
						<div class="form-group">
							<input class="form-control" type="text" maxlength="32"  style="width: 150px;" name="xt_userinfo_politicalStatus" id="xt_userinfo_politicalStatus" placeholder="请输入">
						</div>
					</div>
					<div class="col-md-1">
						<label class="col-form-label" jEhcLang="xt_userinfo_highestDegree">文化程度</label>
					</div>
					<div class="col-md-3">
						<div class="form-group">
							<input type="hidden" id="xt_userinfo_highestDegree_">
							<select class="form-control" maxlength="32" id="xt_userinfo_highestDegree"  style="width: 150px;" name="xt_userinfo_highestDegree" placeholder="请选择"></select>
						</div>
					</div>
					<div class="col-md-1">
						<label class="col-form-label" jEhcLang="xt_userinfo_workYear">工作年限</label>
					</div>
					<div class="col-md-3">
						<div class="form-group">
							<input type="hidden" id="xt_userinfo_workYear_">
							<select class="form-control" maxlength="32" id="xt_userinfo_workYear"  style="width: 150px;" name="xt_userinfo_workYear" placeholder="请选择"></select>
						</div>
					</div>
				</div>
			</div>
			<div class="m-portlet__foot m-portlet__no-border m-portlet__foot--fit">
				<div class="m-form__actions m-form__actions--solid">
					<div class="form-group m-form__group row">
						<div class="col m--align-left">
							<button type="button" class="btn btn-light-primary font-weight-bold mr-2 green m-btn m-btn--custom m-btn--icon" onclick="updateXtUserinfo()">保存</button>
							<button type="button" class="btn btn-secondary green m-btn m-btn--custom m-btn--icon" onclick="goback()">返回</button>
						</div>
						<div class="col m--align-right">
							<a href="javascript:resetAll('defaultForm')" class="btn btn-secondary m-btn m-btn--custom m-btn--icon">
								<span><i class="fa fa-repeat"></i><span>重置</span></span>
							</a>
						</div>
					</div>
				</div>
			</div>
		</form>
		<!--end::Form-->
	</div>
</body>
<!-- 部门选择器模态框（Modal）开始 -->
<div class="modal fade" id="departSelectModal" tabindex="-1" role="dialog" aria-labelledby="departSelectModalLabel" aria-hidden="true">
	<div class="modal-dialog modal-dialog-centered">
		<div class="modal-content">
			<div class="modal-header">
				<h4 class="modal-title" id="departSelectModalLabel">
					部门选择器
				</h4>
			</div>
			<div class="modal-body">
				<ul id="tree" class="ztree"></ul>
			</div>
			<div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">取 消</button>
                <button type="button" class="btn btn-light-primary font-weight-bold mr-2" onclick="doDepartSelect()">保 存</button>
            </div>
		</div><!-- /.modal-content -->
	</div><!-- /.modal -->
</div>
<!-- 部门选择器模态框（Modal）结束 -->

<!-- 岗位选择器模态框（Modal）开始 -->
<div class="modal fade" id="postSelectModal" tabindex="-1" role="dialog" aria-labelledby="postSelectModalLabel" aria-hidden="true">
	<div class="modal-dialog modal-dialog-centered">
		<div class="modal-content">
			<div class="modal-header">
				<h4 class="modal-title" id="postSelectModalLabel">
					岗位选择器
				</h4>
			</div>
			<div class="modal-body">
				<ul id="posttree" class="ztree"></ul>
			</div>
			<div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">取 消</button>
                <button type="button" class="btn btn-light-primary font-weight-bold mr-2" onclick="doPostSelect()">保 存</button>
            </div>
		</div><!-- /.modal-content -->
	</div><!-- /.modal -->
</div>
<!-- 岗位选择器模态框（Modal）结束 -->
<script type="text/javascript" src="/deng/include/include.js"></script>
<script type="text/javascript" src="/deng/include/inplug.js"></script>
<script type="text/javascript" src="/deng/view/sys/xt-userinfo/xt-userinfo-update.js"></script>
</html>
